<template>
  <div class="app">
    <!-- <BaseSelect :selectId="selectId" @changeCity="fnChange"></BaseSelect> -->


    <BaseSelect :value="selectId" @input="selectId=$event"></BaseSelect>
    <!-- v-model 相当于 :value='selectId' @input='selectId=$event' -->
    <BaseSelect v-model="selectId"></BaseSelect>
  </div>
</template>

<script>
import BaseSelect from './components/BaseSelect.vue'
export default {
  data() {
    return {
      selectId: '102',
    }
  },
  components: {
    BaseSelect,
  },
  methods:{
  fnChange(value){
    this.selectId = value
  }
}
}

</script>

<style>
</style>